package com.wzh.service;

import com.wzh.dao.Questiondao;
import com.wzh.pojo.Po.Questions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Questionser {
	@Autowired
	private Questiondao questiondao;
	public List<Questions> getall(){
		return questiondao.getall();
	};
	public List<Questions> getsome(String drgee){
		return questiondao.getsome(drgee);
	};
//	public boolean delete(Title title){
//		return titledao.deonebyid(title)>0;
//	}
//	public boolean add(Title title){
//		return titledao.addnew(title)>0;
//	}
}
